package com.netflix.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ytj
 * @date 2021/12/16
 */
@FeignClient(name = "demo-provider")
public interface DemoProviderFeign {
    @GetMapping("/test")
    String test(@RequestParam("name") String name);
}
